@import '~materialize-css/dist/css/materialize.css';
html, body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  background: #fafafa;
}

[type=radio]:checked + span:after,
[type=radio].with-gap:checked + span:before,
[type=radio].with-gap:checked + span:after {
  border: 2px solid #1E88E5 !important;
}

[type=radio]:checked + span:after,
[type=radio].with-gap:checked + span:after {
  background-color: #1E88E5 !important;
}

.dropdown-content li > span {
  color: #3498db !important;
}

.collapsible-body .input-field input {
  color: #fff !important;
}

/* label focus color */
.input-field input:focus + label,
.materialize-textarea:focus:not([readonly]) + label {
  color: #3498db !important;
}

/* label underline focus color */
.input-field input:focus,
.materialize-textarea:focus:not([readonly]) {
  border-bottom: 1px solid #3498db !important;
  box-shadow: 0 1px 0 0 #3498db !important;
}

.toast.info-toast {
  background-color: #3498db;
}

.toast.notice-toast {
  background-color: #07bc0c;
}

.toast.error-toast {
  background-color: #e74c3c;
}

.agora-theme .collapsible-header {
  border: none;
}
.agora-theme .btn-primary {
  color: #fff;
  background-color: #1E88E5 !important;
}
.agora-theme .agora-github-pin {
  background: url("") no-repeat round;
  width: 55px;
  height: 55px;
  position: absolute;
  right: 0;
}
.agora-theme .agora-primary-bg {
  color: #fff;
  background-color: #1E88E5 !important;
  align-items: center;
}
.agora-theme h5 {
  margin: 0;
  margin-left: 20px;
}
.agora-theme nav {
  height: 65px;
}
.agora-theme .agora-secondary-border {
  border: 1px solid #424242 !important;
}
.agora-theme .agora-secondary-bg {
  color: #fff;
  background-color: #424242 !important;
  align-items: center;
}
.agora-theme .switch {
  height: 55px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.agora-theme .switch h6 {
  margin: 0;
}
.agora-theme #local_stream {
  position: relative;
}
.agora-theme .hide {
  display: none;
}
.agora-theme #local_video_info {
  position: absolute;
}
@media only screen and (max-width: 1441px) and (min-width: 966px) {
  .agora-theme .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
@media only screen and (max-width: 965px) {
  .agora-theme .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
.agora-theme .btn {
  text-transform: none;
  letter-spacing: 0;
  margin-right: 0.2rem;
  min-width: 69px;
}
.agora-theme .video-view {
  position: relative;
  margin: 10px;
  border-radius: 2px;
  overflow: hidden;
}
.agora-theme .video-view,
.agora-theme .video-placeholder,
.agora-theme #local_stream, .agora-theme #local_video_info {
  width: 100%;
  height: 480px;
}
.agora-theme .video-profile {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  z-index: 2;
  color: #fff;
  opacity: 0.9;
  text-shadow: black 0.1em 0.1em 0.2em;
  font-size: 10px;
}
.agora-theme .video-flex-container {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 0.5rem;
  margin-top: -2px;
  flex-wrap: wrap;
}
.agora-theme .video-grid {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: auto;
}
.agora-theme .autoplay-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: block;
  cursor: pointer;
}
.agora-theme .autoplay-fallback::after {
  content: "click here to play";
  font-size: 1.5rem;
  opacity: 0.9;
  text-shadow: black 0.1em 0.1em 0.2em;
  display: block;
  color: #fff;
}

.collapsible {
  border: none;
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.github {
  cursor: pointer;
  background-repeat: no-repeat;
  position: absolute;
  background-image: url("../assets/github.png");
  background-size: 50px;
  display: block;
  width: 50px;
  height: 50px;
  margin: 20px;
  border-radius: 28px;
  transform: translateY(-40px);
  -webkit-box-reflect: below;
  -webkit-box-reflect: below 2px -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0.5));
}

.aperture {
  /* display: inline-block; */
  width: 58px !important;
  height: 58px !important;
  position: absolute;
  right: 60px;
  top: 28px;
  z-index: 1999;
}

.aperture::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: -24px;
  left: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 10px #fff06a, inset 4px 0 16px #f0f, inset -4px 0 16px #0ff, inset 4px 0 16px #f0f, inset -4px 0 16px #0ff, 0 0 10px #fff06a, -6px 0 36px #f0f, 6px 0 36px #0ff;
  -webkit-animation: rotate 3s infinite linear;
  animation: rotate 3s infinite linear;
}